package com.whfc.fuum.dao;

import com.whfc.fuum.entity.SysEmpUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysEmpUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysEmpUser record);

    int insertSelective(SysEmpUser record);

    SysEmpUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysEmpUser record);

    int updateByPrimaryKey(SysEmpUser record);

    void logicDel(@Param("deptId") Integer deptId, @Param("userId") Integer userId);

    List<SysEmpUser> getEmpUserListExcludeUserId(@Param("userIds") List<Integer> userIds);

    SysEmpUser selectByAppEmpId(Integer empId);

    SysEmpUser getSysEmpUserByUserId(Integer empId);
}